<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
    <title>登录若依系统</title>
    <meta name="description" content="若依后台管理框架">
    <link href="../static/css/font-awesome.min.css" th:href="@{/css/font-awesome.min.css}" rel="stylesheet"/>
    <link href="../static/css/bootstrap.min.css" th:href="@{/css/bootstrap.min.css}" rel="stylesheet"/>
    <link href="../static/css/custom/index.css" th:href="@{/css/custom/index.css}" rel="stylesheet"/>
    <link href="../static/css/login.css" th:href="@{/css/login.css}" rel="stylesheet"/>
    <!-- 360浏览器急速模式 -->
    <meta name="renderer" content="webkit">
    <!-- 避免IE使用兼容模式 -->
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <link rel="shortcut icon" href="../static/favicon.ico" th:href="@{favicon.ico}"/>
    <script>
        if(window.top!==window.self){alert('未登录或登录超时。请重新登录');window.top.location=window.location};
    </script>
</head>
<body>
    <canvas class="cavs" width="1575" height="1337"></canvas>
    <div class="login-main">
        <div class="loginmain">
            <div class="login-title">
                <span>登录若依系统</span>
            </div>
            <form id="loginForm" autocomplete="off">
                <div class="login-con">
                    <div class="login-input">
                        <div class="icon">
                            <img src="img/custom/user_icon_copy.png" alt="">
                        </div>
                        <input type="text" name="username" class="input-control" placeholder="用户名" value=""/>
                    </div>
                    <div class="login-input">
                        <div class="icon">
                            <img src="img/custom/lock_icon_copy.png" alt="">
                        </div>
                        <input type="password" class="input-control" name="password" placeholder="密码"   value="" />
                    </div>
                    <div class="login-input" th:if="${captchaEnabled==true}">
                        <div class="icon">
                            <img src="img/custom/key.png" alt="">
                        </div>
                        <input type="text" class="input-control" name="validateCode" placeholder="验证码" autocomplete="off" value="">
                        <div class="col-xs-4 captcha">
                            <a href="javascript:void(0);" title="点击更换验证码">
                                <img th:src="@{/captcha/captchaImage(type=${captchaType})}" class="imgcode" width="85%"/>
                            </a>
                        </div>
                    </div>
                    <div class="checkbox-custom" th:if="${isRemembered}" th:classappend="${captchaEnabled==false} ? 'm-t'">
                        <input type="checkbox" id="rememberme" name="rememberme"> <label for="rememberme">记住我</label>
                    </div>
                    <div class="login-btn">
                        <input id="btnSubmit" type="submit" value="登录">
                    </div>
                </div>
            </form>
        </div>
        <div class="font-white login-footer">
            <div>
                Powered by <a>ruoyi.vip</a> Crafted with <a>yangtaoer.com.cn</a>
            </div>
            <div>
                <h5>
                    <a href="https://beian.mitt.gov.cn">蜀ICP备2021022059号</a>
                </h5>
            </div>
        </div>
    </div>
</body>
<script th:inline="javascript"> var ctx = [[@{/}]]; var captchaType = [[${captchaType}]]; </script>
<!--[if lte IE 8]><script>window.location.href=ctx+'html/ie.html';</script><![endif]-->
<!-- 全局js -->
<script src="../static/js/jquery.min.js" th:src="@{/js/jquery.min.js}"></script>
<!-- 背景样式 -->
<script src="../static/js/custom/ban.js" th:src="@{/js/custom/ban.js}"></script>
<script src="../static/js/bootstrap.min.js" th:src="@{/js/bootstrap.min.js}"></script>
<!-- 验证插件 -->
<script src="../static/ajax/libs/validate/jquery.validate.min.js" th:src="@{/ajax/libs/validate/jquery.validate.min.js}"></script>
<script src="../static/ajax/libs/validate/messages_zh.min.js" th:src="@{/ajax/libs/validate/messages_zh.min.js}"></script>
<script src="../static/ajax/libs/layer/layer.min.js" th:src="@{/ajax/libs/layer/layer.min.js}"></script>
<script src="../static/ajax/libs/blockUI/jquery.blockUI.js" th:src="@{/ajax/libs/blockUI/jquery.blockUI.js}"></script>
<script src="../static/ruoyi/js/ry-ui.js" th:src="@{/ruoyi/js/ry-ui.js?v=4.6.2}"></script>
<script src="../static/ruoyi/login.js" th:src="@{/ruoyi/login.js}"></script>
</html>
